//
// Created by admin on 2020/5/17.
//

#ifndef C_DESIGN_FORMAT_H
#define C_DESIGN_FORMAT_H

// 使用到的文件名
static char *userFilename = "user.dat";
static char *adminFilename = "admin.dat";
static char *flightFilename = "flight.dat";
static char *orderFilename = "order.dat";

// 文件读写的格式
static char *adminFormat = "%s %s\n";
static char *userFormat = "%s %s %s %s";
static char *orderFormat = "%s %s %d %u %d %f %f %f\n";
static char *flightFormat = "%s %s %s %s %s %lld %lld %u %f %f %f %f %d\n";    // 不包括不定长数组

#endif //C_DESIGN_FORMAT_H
